#!/bin/bash

usb=`/home/pi/siweather/scripts/get_vantagevue`         

/usr/bin/sqlite3 /usr/local/etc/wview/wview-conf.sdb "update config set value='/dev/ttyUSB$usb' where name='STATION_DEV'"

